package com.yiyahui.project.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 医生回访对象 yiya_visit_doctor
 * 
 * @author yiyahui
 * @date 2020-06-06
 */

@ApiModel(value="医生回访对象")
public class YiyaVisitDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 门诊患者id */
    @ApiModelProperty(value="门诊患者id")
    @Excel(name = "门诊患者id")
    private Long clinicPersonId;

    /** 随访医生 */
    @ApiModelProperty(value="随访医生")
    @Excel(name = "随访医生")
    private String visitDoctor;

    /** 咨询师 */
    @ApiModelProperty(value="咨询师")
    @Excel(name = "咨询师")
    private String counselor;

    /** 随访人员 */
    @ApiModelProperty(value="随访人员")
    @Excel(name = "随访人员")
    private String otherVisit;

    /** 回访内容 */
    @ApiModelProperty(value="回访内容")
    @Excel(name = "回访内容")
    private String contet;

    /** 回访结果 */
    @ApiModelProperty(value="回访结果")
    @Excel(name = "回访结果")
    private String result;

    /** 回访时间 */
    @ApiModelProperty(value="回访时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回访时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date visitTime;

    /** 回访状态 1.待计划 2.回访完成 */
    @ApiModelProperty(value="回访状态 1.待计划 2.回访完成")
    @Excel(name = "回访状态 1.待计划 2.回访完成")
    private Integer visitStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClinicPersonId(Long clinicPersonId) 
    {
        this.clinicPersonId = clinicPersonId;
    }

    public Long getClinicPersonId() 
    {
        return clinicPersonId;
    }
    public void setVisitDoctor(String visitDoctor) 
    {
        this.visitDoctor = visitDoctor;
    }

    public String getVisitDoctor() 
    {
        return visitDoctor;
    }
    public void setCounselor(String counselor) 
    {
        this.counselor = counselor;
    }

    public String getCounselor() 
    {
        return counselor;
    }
    public void setOtherVisit(String otherVisit) 
    {
        this.otherVisit = otherVisit;
    }

    public String getOtherVisit() 
    {
        return otherVisit;
    }
    public void setContet(String contet) 
    {
        this.contet = contet;
    }

    public String getContet() 
    {
        return contet;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setVisitTime(Date visitTime) 
    {
        this.visitTime = visitTime;
    }

    public Date getVisitTime() 
    {
        return visitTime;
    }
    public void setVisitStatus(Integer visitStatus) 
    {
        this.visitStatus = visitStatus;
    }

    public Integer getVisitStatus() 
    {
        return visitStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clinicPersonId", getClinicPersonId())
            .append("visitDoctor", getVisitDoctor())
            .append("counselor", getCounselor())
            .append("otherVisit", getOtherVisit())
            .append("contet", getContet())
            .append("result", getResult())
            .append("visitTime", getVisitTime())
            .append("visitStatus", getVisitStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
